package com.moxiao.yfjh.module.activity.controller.app.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

import static com.moxiao.yfjh.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * app：核销详情返回
 *
 * @Author zbq
 **/
@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AppWriteOffVO {

    @Schema(description = "核销id：用于核销")
    private Long id;

    private Long userId;

    @Schema(description = "会员用户id")
    private String userNo;

    private Long merchantId;

    private Long activityId;

    private Long activityProductsId;
    /**
     * 用户昵称
     */
    private String nickname;

    @Schema(description = "商家类型名称")
    private String merchantTypeName;

    @Schema(description = "商家名称")
    private String name;

    @Schema(description = "商家地址")
    private String address;

    @Schema(description = "商家介绍")
    private String merchantIntro;

    @Schema(description = "商家封面")
    private String merchantCover;

    @Schema(description = "产品名称")
    private String productName;

    @Schema(description = "产品介绍")
    private String productIntro;

    @Schema(description = "商品封面")
    private String productCover;

    @Schema(description = "核销码")
    private String verificationCode;

    /**
     * 是否核销：0-是，1-否
     */
    @Schema(description = "是否核销：0-是，1-否")
    private Byte status;

    /**
     * 是否核销：0-是，1-否
     */
    @Schema(description = "是否核销")
    private String statusName;
    /**
     * 核销时间
     */
    @Schema(description = "核销时间")
    private Date verificationTime;
    /**
     * 核销时间
     */
    @Schema(description = "核销时间")
    private String verificationTimes;

    @Schema(description = "活动名称")
    private String activityName;

    @Schema(description = "活动时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private String activeDate;


    @Schema(description = "男人数")
    private String menNum;

    @Schema(description = "女人数")
    private String womenNum;


}
